package com.uduemc.biso.core.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.uduemc.biso.core.feign.fallback.SysHostTypeFeignFallback;
import com.uduemc.biso.core.utils.RestResult;

@FeignClient(value = "BISO-BASIC-SERVICE", fallbackFactory = SysHostTypeFeignFallback.class)
@RequestMapping("/sys-host-type")
public interface SysHostTypeFeign {

	@GetMapping("/find-all")
	RestResult findAll();

}
